home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / wf200_c.arc / WF.008 < prev    next >
Text File  |  1990-08-30  |  10KB  |  256 lines

  1. .f3                              - # -              Chapter 8 - Managing Files
  2. .rm70
  3. .mt5
  4. .mb5
  5. .pl66
  6. .tc
  7. .tc 8. MANAGING FILES .....................................#
  8. 8. MANAGING FILES
  9.  
  10. .tc    Displaying a Directory of Files ....................#
  11. Displaying a Directory of Files
  12.  
  13. To display the files in a directory:
  14.  
  15. 1. Press Shift F1 to bring up the Pulldown Menu.
  16.  
  17. 2. Press M for Miscellaneous, followed by D for Directory.
  18.    Alternatively press whatever command keys you have installed. The
  19.    default is no installed command keys.
  20.    A window will open with the words
  21.       Directory Mask:  *.*
  22.  
  23. 3. Now you have a number of choices:
  24.    ■ Press Enter to see a directory of all files on the default disk
  25.      in the default directory.
  26.    ■ Type a drive and path specification, then press Enter to list all the
  27.      files on another drive or another directory.
  28.    ■ Type any other valid response used with the DOS DIR command. Press
  29.      Enter.
  30.  
  31. 4. If the window fills up, pressing Page Down will show you the
  32.    next page of files. You can also use the Up and down arrows to
  33.    scroll through the list.
  34.  
  35. .tc       Attaching a Description to a File ...............#
  36.    Attaching a Description to a File
  37.  
  38.    The directory can optionally display one line descriptions of the
  39.    files. If you have set them up, they will automatically display
  40.    when you display the directory list.
  41.  
  42.    A description can be attached to a file in 2 ways.
  43.  
  44.    Add A Description To Current File
  45.  
  46.    If you are editing a file, you can attach a description to it by
  47.    pressing Ctrl K E. A pop up window will open, displaying the
  48.    current description, and allowing you to enter a new one. Press
  49.    Enter to save the new description, or ESC if you change your mind.
  50.    The new description will display alongside the filename in any
  51.    future directory display.
  52.  
  53.  
  54.    Edit Directory Listing
  55.  
  56.    If you have a directory displayed, you can highlight a file name by
  57.    using the cursor keys to scroll up and down. You can also travel
  58.    quickly to the vicinity of the file by pressing the initial letter
  59.    of its name, and then scrolling to highlight the one you want.
  60.    Press F1 to edit the description of the highlighted file. A pop up
  61.    window will open, displaying the current description, and allowing
  62.    you to enter a new one. Press Enter to save the new description, or
  63.    ESC if you change your mind. The new description will display
  64.    alongside the filename in any future directory display.
  65.  
  66.    The descriptions are stored in a file called FILEINFO.WF which is
  67.    in the same directory as the files. If you have several different
  68.    directories, you can have a FILEINFO file in each directory. This
  69.    file only stores details of files that have comments. However, if
  70.    you add a comment, and subsequently delete the file to which it is
  71.    attached, the entry still resides in the FILEINFO file. The same
  72.    applies if you add a comment and subsequently set that comment to
  73.    spaces. To prevent the file from accumulating rubbish, you need to
  74.    pack the file from time to time.
  75.  
  76.    Packing the Description File
  77.  
  78.    This procedure runs through the description file (FILEINFO.WF) in
  79.    the directory you specify, and checks that each entry in the file
  80.    actually exists in the directory. In addition it also checks for
  81.    entries where the description is blank. All these entries are
  82.    deleted from the file.
  83.  
  84.    You invoke this command by pressing Ctrl K Z. You will be prompted
  85.    for a file to pack, and the prompt will default to the one in the
  86.    directory in which the file you are editing resides. If the file
  87.    cannot be found, you will be notified by an error.
  88.  
  89.  
  90. .Tc    Changing the Logged Drive or Default Directory .....#
  91. Changing the Logged Drive or Default Directory
  92.  
  93. The default drive and directory is where Word fugue will look for
  94. files to edit when you do not give the full pathname for the file. If
  95. you use include files in your text, you will need to have the default
  96. drive and directory correct if printing, table of contents generation
  97. and so on is to work correctly and find all files.
  98.  
  99.  
  100. Press Ctrl J D  (the default installed command)
  101.  
  102. OR
  103.  
  104. press Shift F1 to bring up the Pulldown Menu, followed by M for
  105. Miscellaneous followed by C for Change Directory.
  106.  
  107. A window will open, and you will be prompted with
  108.  
  109.    New Drive or Pathname:
  110.  
  111. along with the name of the current directory and the current drive
  112. letter. You can edit the line or you can type in a new entry. If you
  113. enter an invalid path, you will be informed of the error. In this case
  114. the default drive & path are unchanged.
  115.  
  116. .CP6
  117. .tc    Opening a File .....................................#
  118. Opening a File
  119.  
  120. As discussed in chapter 3 (Starting Word Fugue), there are several
  121. methods of opening a file.
  122.  
  123. .cp6
  124. Open a New File in the Current Window
  125.  
  126. This is achieved by pressing F3. If the existing file has been
  127. modified, you will be prompted to save it. Then you will be prompted
  128. for the new file name to edit.
  129.  
  130. Save and Open a New File in the Current Window
  131.  
  132. This is achieved by pressing Ctrl K D. The current file is saved
  133. regardless of whether it has been modified, and you are prompted for a
  134. new file to edit.
  135.  
  136. Open Another File
  137.  
  138. This command opens another window, and prompts for a file name to
  139. edit. The current window becomes the previous window. This is
  140. discussed further in the chapter on windows. The command is Ctrl O A.
  141.  
  142. .tc    Close A File .......................................#
  143. Close A File
  144.  
  145. If you do not wish to edit another file, there are several commands
  146. that can be used, and they work in slightly different ways.
  147.  
  148. Save Files and Quit
  149.  
  150. This command saves all modified files and then quits or exits back to
  151. DOS. Press F10 or Ctrl K X.
  152.  
  153. Quit
  154.  
  155. This commands prompts you whether to save each modified file, and then
  156. exits back to Dos. Press Ctrl K Q.
  157.  
  158. Close Window
  159.  
  160. This command closes the current edit window. Press Shift F4. If you
  161. have other windows open, you will be moved to the next window in the
  162. list. If you do not have other windows open, you will be left in the
  163. Pulldown Menu, in the Files Submenu. If you want to open a file, you
  164. must select the Open Another option to open a window and prompt for a
  165. file.
  166.  
  167. .tc    Save File and Continue .............................#
  168. Save File and Continue
  169.  
  170. To save a file and continue editing it press Ctrl K S or F9. word
  171. fugue will save the file, and you will be able to continue editing it.
  172. It is advisable to do this on a regular basis, in case a power failure
  173. or similar stops your machine. Regular saving of your work will
  174. prevent you losing an entire days' work.
  175.  
  176. .tc    Save As Different File and Continue Edit ...........#
  177. Save As Different File and Continue Edit
  178.  
  179. This writes the changed file out to disk as a different file, and then
  180. continues editing the file under the new name. This is very useful if
  181. you have to create a file that is similar to another one. You
  182. accomplish this by pressing Ctrl K A or by pressing Shift F9.
  183.  
  184. If you change your mind when the filename prompt appears, press ESC.
  185.  
  186. .tc    Include File .......................................#
  187. Include File
  188.  
  189. A file can be included within another file by placing a .FI command in
  190. column one of a new line. Follow the command by tha name of the file
  191. you wish to include. When you print the file, or generate tables of
  192. contents etc, the file will be processed as if it had been copied in
  193. place of the .FI line. The file that is included can itself include
  194. other files, up to a depth of 5:
  195.  
  196.         Text in file A
  197.         .fiB
  198.         More text in file A
  199.  
  200.  
  201.         Text in file B
  202.         .fiC
  203.  
  204.  
  205.         Text in file C
  206.  
  207. This is very useful for breaking up large documents into chapters and
  208. so on.
  209.  
  210. .tc    Expand Include File ................................#
  211. Expand Include File
  212.  
  213. Once you have put a .FI line into a file, it is very easy to edit the
  214. file that you are including. Simply place the cursor anywhere within
  215. the .FI line, and press Alt F. Word Fugue will open up a new window
  216. and edit the file in that window.
  217.  
  218. .tc    Get Info ...........................................#
  219. Get Info
  220.  
  221. This command displays information about the file you are editing, as
  222. well as a word count. Press Ctrl J V when you have the file in the
  223. current window. When you have finished with the information, press ESC
  224. to continue.
  225.  
  226. .tc    Writing A Block to a File ..........................#
  227. Writing A Block to a File
  228.  
  229. To write a block of text to another file:
  230. 1. Mark the block of text with Ctl K B and Ctl K K.
  231. 2. Press Ctl K W. A window will prompt:
  232.      filename:
  233. 3. Type a file name and press Enter.
  234.  
  235. If the block is defined as a column, only a column will be written.
  236.  
  237. .CP7
  238. .tc    Reading a File into the Current File ...............#
  239. Reading a File into the Current File
  240.  
  241. To insert a file into the file you are editing:
  242. 1. Press Ctl K R where you want the file inserted. A window will
  243.    prompt
  244.      filename:
  245. 2. Type a file name and press Enter. The file will be inserted after
  246.    the cursor.
  247.  
  248. The file is treated as not column mode, and the setting of the
  249. destination window are ignored.
  250.  
  251. TIP   If you want to read in a file as a column, open a separate
  252.       window for the file, and read it there. Then set the column
  253.       settings you want, mark the block of text in the file, and Copy
  254.       or Move it to the Destination window.
  255.  
  256.